import requests from './request';

// 获取省份的接口
export const getAreas = () => requests({
    url: `/areas/allProvince`,
    method: 'get'
})

// 获取城市的接口
export const getCity = (params) => requests({
    url: `/areas/getCity`,
    params,
    method: 'get'
})
// 发布寻亲信息的接口
export const reqSeekFamily = (data) => requests({
    url: `/notice/publishNotice`,
    data,
    method: 'post'
})
